package com.example.mapper;
import com.example.entity.Shangpinxiangqing;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ShangpinxiangqingMapper {

    List<Shangpinxiangqing> selectAll(Shangpinxiangqing shangpinxiangqing);

    void insert(Shangpinxiangqing shangpinxiangqing);

    void updateById(Shangpinxiangqing shangpinxiangqing);

    void deleteById(Integer id);

    @Select("select * from shangpinxiangqing where id = #{shangpinxiangqingId}")
    Shangpinxiangqing selectById(Integer shangpinxiangqingId);
}
